package com.zzz.feign;

import com.aaa.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author ：zxw
 * @date ：Created in 2023/3/9 20:16
 */
@FeignClient(value = "cai-homepage")
@SuppressWarnings("all")
public interface InsertFeign {
    @PostMapping(value = "/home/banner/upload",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    Result updateload(MultipartFile file);
}
